<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>添加</title>
    </head>
    <body>

        <h3>添加</h3>

        <div style="color:red;">
            $!{session.message}
            $!{session.removeAttribute('message')}
        </div>

        ## 通过 request 的 getContextPath() 方法获取当前Web应用路径
        <form action="$!{request.contextPath}/user/add/suibian" method="post">
            登录名:<input type="text" name="username" placeholder="登录名称">
            密码:<input type="password" name="password" placeholder="密码">
            确认密码:<input type="password" name="confirm" placeholder="确认密码">
            <input type="submit" value="添加">
        </form>

    </body>
</html>